
/*
 * Copyright (c) 2014. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
 * http://www.apache.org/licenses/LICENSE-2.0
 */

package com.dc.gameserver.serverCore.controller.handleController;

import com.dc.gameserver.serverCore.controller.AbstractController.AbstractController;
import com.dc.gameserver.serverCore.model.dbsql.modelService.PlayerService;
import com.dc.gameserver.serverCore.service.character.PlayerInstance;
import com.google.protobuf.MessageLite;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author : 石头哥哥
 *         Project : LandlordsServer
 *         Date: 13-6-4
 *         Time: 上午11:49
 *         Connect: 13638363871@163.com
 *         玩家关卡分页显示处理
 */
@Service
public class proagrassPageController extends AbstractController {


    @Resource
    private PlayerService playerService;
    /**
     */
    @Override
    public void PostConstruct() {
//        int ID= keepBattleRequest.msgID.ID_VALUE;
//        GAME_CONTROLLERS[ID]=this;
//        IController.MESSAGE_LITE[ID]= keepBattleProto.keepBattleRequest.getDefaultInstance();
    }

     /**
     * messageLite数据结构体分发
     *
     * @param messageLite
     * @param player
     * @throws Exception
      *
      * 匹配玩家，初始化出牌数据
     */
    @Override
    public void DispatchMessageLit(MessageLite messageLite, PlayerInstance player) throws Exception {

        playerService.getPrograssView(player);

    }


}
